/****************************************************/
/* Project Name:预约信息管理                             * / 
/* File Name:TdcReservation              */ 
/* Date:2017年3月20日下午5:59:12            */ 
/* Description:预约信息管理Entity       */
 /****************************************************/ 
package com.thinkgem.jeesite.modules.tdc.reservation.entity;

import org.hibernate.validator.constraints.Length;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import javax.validation.constraints.NotNull;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 预约信息Entity
 * @author 孟朋朋
 * @version 2017-03-20
 */
public class TdcReservation extends DataEntity<TdcReservation> {
	
	private static final long serialVersionUID = 1L;
	/*预约类型*/
	private String bespeakType; 
	/*预约编号*/
	private String bespeakNumber;
	/* 预约人姓名*/
	private String bespeakName;	
	/* 预约人证件*/
	private String bespeakCredentials;
	/* 预约人职业*/
	private String bespeakJob;	
	/* 预约人部门*/
	private String bespeakDept;
	/* 嫌犯姓名*/
	private String suspectName;
	/* 嫌犯证件种类*/
	private String suspectCredentialsType;
	/* 嫌犯证件号*/
	private String suspectCredentialsNumber;
	/* 附件证明-图片路径*/
	private String suspectAttachment;
	/* 预约时间段开始*/
	private Date bespeakStart;
	/* 预约时间段结束*/
	private Date bespeakEnd;
	/* 预约房间号*/
	private String bespeakRoom;	
	/* 预约状态*/
	private String bespeakStatus;
	/* 预约二维码*/
	private String bespeak2code;
	/* 父节点*/
	private String parentsId;
	/* 父节点s*/
	private String parentsIds;		
	
	public TdcReservation() {
		super();
	}

	public TdcReservation(String id){
		super(id);
	}
	
	@Length(min=0, max=64, message="预约类型长度必须介于 0 和 64 之间")
	public String getBespeakType() {
		return bespeakType;
	}

	public void setBespeakType(String bespeakType) {
		this.bespeakType = bespeakType;
	}

	@Length(min=1, max=11, message="预约编号长度必须介于 1 和 11 之间")
	public String getBespeakNumber() {
		return bespeakNumber;
	}

	public void setBespeakNumber(String bespeakNumber) {
		this.bespeakNumber = bespeakNumber;
	}
	
	@Length(min=1, max=64, message="预约人姓名长度必须介于 1 和 64 之间")
	public String getBespeakName() {
		return bespeakName;
	}

	public void setBespeakName(String bespeakName) {
		this.bespeakName = bespeakName;
	}
	
	@Length(min=0, max=255, message="预约人证件长度必须介于 0 和 255 之间")
	@NotNull(message="预约人证件不能为空")
	public String getBespeakCredentials() {
		return bespeakCredentials;
	}

	public void setBespeakCredentials(String bespeakCredentials) {
		this.bespeakCredentials = bespeakCredentials;
	}
	
	@Length(min=0, max=100, message="预约人职业长度必须介于 0 和 100 之间")
	public String getBespeakJob() {
		return bespeakJob;
	}

	public void setBespeakJob(String bespeakJob) {
		this.bespeakJob = bespeakJob;
	}
	
	@Length(min=0, max=100, message="预约人部门长度必须介于 0 和 100 之间")
	public String getBespeakDept() {
		return bespeakDept;
	}

	public void setBespeakDept(String bespeakDept) {
		this.bespeakDept = bespeakDept;
	}
	
	@Length(min=1, max=64, message="嫌犯姓名长度必须介于 1 和 64 之间")
	public String getSuspectName() {
		return suspectName;
	}

	public void setSuspectName(String suspectName) {
		this.suspectName = suspectName;
	}
	
	@Length(min=0, max=60, message="嫌犯证件种类长度必须介于 0 和 60 之间")
	public String getSuspectCredentialsType() {
		return suspectCredentialsType;
	}

	public void setSuspectCredentialsType(String suspectCredentialsType) {
		this.suspectCredentialsType = suspectCredentialsType;
	}
	
	@Length(min=0, max=20, message="嫌犯证件号长度必须介于 0 和 20 之间")
	public String getSuspectCredentialsNumber() {
		return suspectCredentialsNumber;
	}

	public void setSuspectCredentialsNumber(String suspectCredentialsNumber) {
		this.suspectCredentialsNumber = suspectCredentialsNumber;
	}
	
	@Length(min=0, max=255, message="附件证明-图片路径长度必须介于 0 和 255 之间")
	@NotNull(message="附件证明不能为空")
	public String getSuspectAttachment() {
		return suspectAttachment;
	}

	public void setSuspectAttachment(String suspectAttachment) {
		this.suspectAttachment = suspectAttachment;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
	@NotNull(message="预约时间段开始不能为空")
	public Date getBespeakStart() {
		return bespeakStart;
	}

	public void setBespeakStart(Date bespeakStart) {
		this.bespeakStart = bespeakStart;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
	@NotNull(message="预约时间段结束不能为空")
	public Date getBespeakEnd() {
		return bespeakEnd;
	}

	public void setBespeakEnd(Date bespeakEnd) {
		this.bespeakEnd = bespeakEnd;
	}
	
	@Length(min=0, max=10, message="预约房间号长度必须介于 0 和 10 之间")
	public String getBespeakRoom() {
		return bespeakRoom;
	}

	public void setBespeakRoom(String bespeakRoom) {
		this.bespeakRoom = bespeakRoom;
	}
	
	@Length(min=0, max=10, message="预约状态长度必须介于 0 和 10 之间")
	public String getBespeakStatus() {
		return bespeakStatus;
	}

	public void setBespeakStatus(String bespeakStatus) {
		this.bespeakStatus = bespeakStatus;
	}
	
	@Length(min=0, max=255, message="预约二维码长度必须介于 0 和 255 之间")
	public String getBespeak2code() {
		return bespeak2code;
	}

	public void setBespeak2code(String bespeak2code) {
		this.bespeak2code = bespeak2code;
	}
	
	@Length(min=0, max=64, message="父节点长度必须介于 0 和 64 之间")
	public String getParentsId() {
		return parentsId;
	}

	public void setParentsId(String parentsId) {
		this.parentsId = parentsId;
	}
	
	@Length(min=0, max=64, message="父节点s长度必须介于 0 和 64 之间")
	public String getParentsIds() {
		return parentsIds;
	}

	public void setParentsIds(String parentsIds) {
		this.parentsIds = parentsIds;
	}
	
}